﻿
@{
    ViewBag.Title = "登陆";
    Layout = "~/Views/Shared/_HeadLayout.cshtml";
}


<div class="micronews-login-container">
    <div class="form-box">
        <h3>登录</h3>
        <div class="wrap">
            <form action="/Login/Login" method="post" class="layui-form">
                <!-- 提示：如果你不想用form，你可以换成div等任何一个普通元素 -->
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <input type="text" name="loginName" lay-verify="required" id="loginName" placeholder="请输入账号" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <input type="text" name="passWord" lay-verify="required" id="passWord" placeholder="密码" autocomplete="off" class="layui-input">
                    </div>
                </div>
                @*<div class="layui-form-item">
                        <div class="layui-input-block">
                            <input type="text" name="" lay-verify="required" placeholder="请输入短信验证码" autocomplete="off" class="layui-input">
                            <input type="button" id="veriCodeBtn" name="" value="验证码" class="obtain layui-btn">
                        </div>
                    </div>*@
                <div class="layui-form-item agreement">
                    <div class="layui-input-block">
                        <input type="checkbox" name="like1[write]" lay-verify="required" lay-skin="primary" title="我已阅读并同意" checked="">
                        <span class="txt"><a href="#">用户协议</a>和<a href="#">隐私条款</a></span>

                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        @*<button class="layui-btn" lay-submit lay-filter="*" onclick="">登录</button>*@
                        <button class="layui-btn" type="submit" lay-filter="*" onclick="">登录</button>
                    </div>
                </div>
                <!-- 更多表单结构排版请移步文档左侧【页面元素-表单】一项阅览 -->
            </form>



            <div class="other-login">
                <a href="#">
                    <img src="/Content/wenews/images/load1.png">
                </a>
                <a href="#">
                    <img src="/Content/wenews/images/load2.png">
                </a>
            </div>
        </div>

    </div>
</div>

<!--[if lt IE 9]>
  <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
  <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<script>
    layui.config({
        base: '/Scripts/wenews/'
    }).use('index', function () {
        var index = layui.index;
        index.seachBtn()
        index.login()
        index.arrowutil()
    });
</script>




